
  <div class='row'>
    <div class='span12'>
      <div class='panel'> 
        <table class="table tabel-condensed">
          <tr>
            <th>#</th>
            <th><?php echo lang('stage_type');?></th>>
            <th><?php echo lang('stage_date');?></th>
            <th><?php echo lang('stage_depart')." - ".lang('stage_arrive');?></th>
            <th><?php echo lang('distance'); ?></th>
            <th></th>
          </tr>
          <?php
            foreach($stages as $stage)
            {
          ?>
            <tr>
              <td><?php echo $stage->stage_id; ?></td>
              <td><?php echo lang($stage->stage_type); ?></td>
              <td><?php echo mdate( '%d-%m-%Y',mysql_to_unix($stage->stage_date)); ?></td>
              <td><?php echo $stage->stage_depart; ?> - <?php echo $stage->stage_arrive; ?></td>
              <td><?php echo $stage->stage_distance; ?>&nbsp;km</td>
              <td><?php echo anchor('ranking/stage/'.$stage->stage_id, lang('ranking')); ?></td>
            </tr>  
              
          <?php    
            }
          ?>
        </table>
      </div>
    </div>
  </div>
